package com.training.entity;

import lombok.Data; // Import lombok library to simplify code, automatically generate getter/setter methods

// @Data annotation automatically generates getter, setter, toString, equals, hashCode methods for all fields in the class
@Data
public class Student {
    private Long id; // Student ID
    private Long userId; // User ID
    private String stuName; // Student Name
    private String stuNum; // Student Number (e.g., student ID/enrollment number)
    private Long stuStudyTime; // Total study duration, unit: minutes, default: 0
    private Long stuScore; // Student points
    private String clock; // Check-in status, e.g., "0000000"
    private java.sql.Timestamp createTime; // Creation time
    private Integer deleted; // Logical deletion flag
    private java.sql.Timestamp updateTime; // Update time

    // Note: You can add more fields if needed
}
